package com.taotao.service;

import com.taotao.entity.Content;
import com.taotao.entity.ContentCategory;
import com.taotao.entity.item.category.EUTreeNode;
import com.taotao.vo.ResultVO;

import java.util.List;

/**
 * author: 王明跃
 * Create at: 18/7/10下午4:56
 */
public interface ContentService {

    List<EUTreeNode> getCategoryList(Long id);

    ContentCategory create(Long parentId, String name);

    boolean update(Long id, String name);

    boolean delete(Long id);

    List<Content> queryList();

    ResultVO delete(Long[] ids);

    ResultVO save(Content content);

    ResultVO edit(Content content);

}
